﻿<?xml version="1.0" encoding="utf-8" ?>
<program_def>
	<code_block>

		<assignment>
			<left>
				<variable name="a"/>
			</left>
			<right>
				<constant value="10" />
			</right>
		</assignment>

		<unary operator="++">
			<variable name="a"/>
		</unary>

		<unary operator="++">
			<variable name="a"/>
		</unary>

		<unary operator="--">
			<variable name="a"/>
		</unary>

		<assignment>
			<left>
				<variable name="b"/>
			</left>
			<right>
				<unary operator="-">
					<variable name="a" />
				</unary>
			</right>
		</assignment>

		<!--Should print '-11'-->
		<function_call method="print">
			<arguments>
				<variable name ="b" />
			</arguments>
		</function_call>
	</code_block>
</program_def>
